<?php
namespace App\Task;

use Hyperf\Crontab\Annotation\Crontab;
use App\Job\Prize\WalletRed;

/**
 * @Crontab(name="WalletRedTask", rule="0 1 * * *", callback="execute", memo="用户钱包分红")
 */
class WalletRedTask
{
    public function execute()
    {
        // 执行任务
        (new WalletRed)->run();
    }
}